package com.xh.bussiness.exam.service;



import com.xh.bussiness.exam.bean.dto.PaperTestStudentKnowledgeNode;
import com.xh.bussiness.exam.bean.dto.StudentPaperAnalysisInfoDto;
import com.xh.bussiness.exam.bean.request.QueryStudentPaperAnswerRequest;
import com.xh.bussiness.exam.bean.request.StudentPaperAnswerRequest;
import com.xh.bussiness.exam.bean.request.SubmitEvaluationResultDto;
import com.xh.bussiness.exam.model.StudentPaperAnswer;
import com.xh.bussiness.exam.model.StudentPaperAnswerDetail;
import com.xh.bussiness.practice.bean.dto.PracticeStudentResultDTO;
import com.xh.core.service.IBaseService;
import com.xh.core.bean.XhPage;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Pitt Cheung
 * @since 2021-07-28
 */
public interface IStudentPaperAnswerService extends IBaseService<StudentPaperAnswer> {

    /**
     * 分页查询方法
     * @param page
     * @param bean
     * @return
     */
    public XhPage queryStudentPaperAnswerPage(XhPage page, QueryStudentPaperAnswerRequest bean);

    /**
     * 查询方法
     * @param bean
     * @return
     */
    public List queryStudentPaperAnswer(StudentPaperAnswerRequest bean);

    /**
     * 提交测评
     * @param request
     */
    void submitEvaluationResult(SubmitEvaluationResultDto request);

    List<PracticeStudentResultDTO> queryStudentPaperAnswer(String studentId, String paperId);

    StudentPaperAnalysisInfoDto queryPaperTestStudentKnowledgeAnalysisReport(String studentId, String paperId);

    StudentPaperAnalysisInfoDto queryPaperTestStudentAnalysisInfoReport(String studentId, String paperId);
}
